From d122e5411f707faf6cd41f779059443583028d9b Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Wed, 20 Jul 2005 17:44:29 +0000 Subject: [PATCH] No need to define io_remap_pfn_range in linux/mm.h. --- linux-2.6-xen-sparse/include/linux/mm.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/linux-2.6-xen-sparse/include/linux/mm.h b/linux-2.6-xen-sparse/include/linux/mm.h index 087fda00fe..12763056cb 100644 --- a/linux-2.6-xen-sparse/include/linux/mm.h +++ b/linux-2.6-xen-sparse/include/linux/mm.h @@ -816,10 +816,6 @@ extern struct page * follow_page(struct mm_struct *mm, unsigned long address, extern int check_user_page_readable(struct mm_struct *mm, unsigned long address); int remap_pfn_range(struct vm_area_struct *, unsigned long, unsigned long, unsigned long, pgprot_t); -/* Allow arch override for mapping of device and I/O (non-RAM) pages. */ -#ifndef io_remap_pfn_range -#define io_remap_pfn_range remap_pfn_range -#endif #ifdef CONFIG_PROC_FS void __vm_stat_account(struct mm_struct *, unsigned long, struct file *, long); -- 2.30.2